package com.niit.repository;

import com.niit.entity.Company;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface CompanyRepository extends JpaRepository<Company, Integer> {
    Page<Company> findByCompanyNameContaining(String companyName, Pageable pageable);
}
